﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Detail.aspx.cs" Inherits="Show_Detail" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>告警总览</title>

    <script type="text/javascript" src="../JavaScript/JQuery/jquery-1.6.2.min.js"></script>

    <script type="text/javascript" src="../JavaScript/JQuery/jquery-ui-1.8.16.custom.min.js"></script>

    <script type="text/javascript" src="../JavaScript/Detail.js"></script>

    <link rel="Stylesheet" href="../CSS/redmond/jquery-ui-1.8.16.custom.css" />

    <script type="text/javascript" src="../JavaScript/My97DatePicker/WdatePicker.js"></script>

    <link rel="stylesheet" href="../CSS/Detail.css" />
</head>
<body>
    <form id="form1" runat="server">
        <div id="conditionDiv" class="ui-corner-all">
            <p>
                <label for="Dep_A" class="lTitle">
                    县分：</label>
                <asp:DropDownList ID="Dep_A" runat="server">
                </asp:DropDownList>
                <label id="secondL" for="Cell_A" class="lTitle">
                    基站：</label>
                <asp:TextBox ID="Cell_T" runat="server" MaxLength="100"></asp:TextBox>
                <label style="font-size:small; color:Red">*模糊查找</label>
            </p>
            <p>
                <label for="AlarmType" class="lTitle">
                    告警类型：</label>
                <asp:DropDownList ID="AlarmType" runat="server">
                    <asp:ListItem Value="0">全部</asp:ListItem>
                    <asp:ListItem Value="断站">断站</asp:ListItem>
                    <asp:ListItem Value="停电">停电</asp:ListItem>
                    <asp:ListItem Value="驻波">驻波</asp:ListItem>
                </asp:DropDownList>
                <label id="secondL2" for="GType_A" class="lTitle">
                    2G\3G：</label>
                <asp:DropDownList ID="GType_A" runat="server">
                    <asp:ListItem Selected="True" Text="全部" Value="0"></asp:ListItem>
                    <asp:ListItem Text="2G" Value="2G"></asp:ListItem>
                    <asp:ListItem Text="3G" Value="3G"></asp:ListItem>
                </asp:DropDownList>
            </p>
            <p>
                <label for="Begin_Date" class="lTitle">
                    告警时间：</label><asp:TextBox ID="Begin_Date" runat="server" CssClass="Wdate text ui-widget-content"
                        AutoCompleteType="Disabled"></asp:TextBox>
                <label id="lendDate" for="End_Date">
                    至</label><asp:TextBox ID="End_Date" runat="server" CssClass="Wdate text ui-widget-content"
                        AutoCompleteType="Disabled"></asp:TextBox>
            </p>
            <p style="text-align: right; padding: 5px;">
                <asp:Button ID="Query" runat="server" Text="开始查询" CssClass="search" OnClick="Query_Click" />
            </p>
        </div>
        <fieldset class="ui-grid-a" id="DetailBox">
            <legend>告警明细查询</legend>
            <div id="DetailDiv">
                <asp:GridView ID="DetailView" runat="server" AutoGenerateColumns="False" EmptyDataText="对不起,未找到相关数据！"
                    Width="100%" CssClass="ui-widget ui-widget-content" OnRowDataBound="DetailView_RowDataBound">
                    <HeaderStyle CssClass="ui-widget-header" />
                    <Columns>
                        <asp:BoundField DataField="County" HeaderText="县分" SortExpression="County">
                        </asp:BoundField>
                        <asp:BoundField DataField="CELL_CHNAME" HeaderText="基站" SortExpression="CELL_CHNAME" />
                        <asp:BoundField DataField="ALARM_NAME" HeaderText="告警名称" SortExpression="ALARM_NAME" />
                        <asp:BoundField DataField="START_TIME" HeaderText="开始时间" SortExpression="START_TIME" />
                        <asp:BoundField DataField="RECOVER_TIME" HeaderText="恢复时间" SortExpression="RECOVER_TIME" />
                        <asp:BoundField DataField="Net" HeaderText="网络" SortExpression="Net" />
                    </Columns>
                </asp:GridView>
                <div style="text-align: right; padding: 5px;">
                    <webdiyer:AspNetPager ID="DetailPager" runat="server" OnPageChanged="DetailPager_PageChanged">
                    </webdiyer:AspNetPager>
                </div>
            </div>
        </fieldset>
    </form>
</body>
</html>
